Skip to content

Support LFortran and simplify assertions #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jul 17, 2025

Conversation

rouson
Copy link
Contributor

@rouson rouson commented Jul 3, 2025

This PR

  1. Adds support for compiling with the LFortran compiler.
  2. Removes the diagnostic_data argument in assertions, which breaks backwards compatibility.

Copy link
Member

@bonachea bonachea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In today's meeting we decided to keep the scope of this PR unchanged (including both the removal of diagnostic_data and the port to LFortran). Please resist appending any additional unrelated features.

I've migrated unresolved comments from PR #56.

rouson and others added 9 commits July 13, 2025 15:26
This commit
1. Removes the diagnostic_data argument from the assert subroutine
2. Removes the types that existed solely to support that argument:
   a. characterizable_t
   b. intrinsic_array_t
3. Edits or deletes examples that referenced the removed entities
4. Edits or deletes documentation that referenced removed entities
Also manually inline string function.
@bonachea bonachea force-pushed the lfortran-and-simpler-assert branch from 3f9a433 to c736489 Compare July 13, 2025 19:26
bonachea added 3 commits July 17, 2025 14:28
* Fix defects introduced while adding LFortran support that broke several
  other configurations.

* Disentangle file-passing of exit status from multi-image, so that
  it's properly compiler-specific

* Use co_max in place of co_reduce for multi-image

(cherry picked from commit f1d96ff)
Copy link
Member

@bonachea bonachea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with the commits I've added

@rouson rouson merged commit 56ff714 into BerkeleyLab:main Jul 17, 2025
23 checks passed
@rouson rouson deleted the lfortran-and-simpler-assert branch July 17, 2025 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants